package main

import (
	"fmt"
	"time"
)

/**
交替打印数字和字母
*/

func main() {
	go outputNum()
	for i := 'A'; i < 'Z'; i += 2 {
		fmt.Print(string(i))
		fmt.Print(string(i + 1))
		time.Sleep(1 * time.Second)
	}
}

func outputNum() {
	for i := 1; i < 26; i += 2 {
		fmt.Print(i)
		fmt.Print(i + i)
		time.Sleep(1 * time.Second)
	}
}
